package com.yun.zhong.fu.sharecenter.feginclinet;

import com.yun.zhong.fu.sharecenter.domain.UserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author RenPu
 * @Date 2020/12/29 14:18
 * @Version 1.0
 * @Description: 实现feign多参数传入的解决方案
 **/

@FeignClient(name = "user-center")
public interface TestUserCenterFegin {
    @GetMapping("/user/q")
    public UserDto testFeignParamter(@SpringQueryMap UserDto user);

}
